Learn R Programming

neuroim2 (version 0.8.1)

[: Extract or replace parts of an object

Description

Extract or replace parts of an object

subset an ROIVol

Usage

# S4 method for ROIVol,numeric,missing,ANY
[(x, i, j, ..., drop = TRUE)

# S4 method for ROIVol,numeric,missing,ANY [(x, i, j, ..., drop = TRUE)

# S4 method for ROIVol,logical,missing,ANY [(x, i, j, ..., drop = TRUE)

Value

A subset of the input object, with dimensions depending on the indexing and the `drop` parameter.

Arguments

x

the object

i

first index

j

second index

...

additional arguments

drop

drop dimension